Computing and Software Evaluating Scripting Languages: How Python Can Help Political Methodologists

نویسنده

  • Holger Döring
چکیده

Why Python? Political methodologists tend to make passionate statements about their software tools. The PolMeth mailing list frequently gives strong advocacy for the use of Linux, LTEX, Emacs and other specific programmes. For statistical analysis R has become the mainstream programming language. However, frequent encouragements to use PHP for web purposes or Perl for various scripting tasks highlight the need for a major scripting language beside R. Once political scientists need systematic parsing of markup languages or have to generate web presentations from their data, R quickly reaches its limits. For me, Python has become my favourite scripting language of choice. Having had some previous exposure to C, Java, PHP and Perl, Python turned out to meet all my needs for software development, that R can not fulfil. So let me introduce you to the beauty of Python. Python helps with almost all of the data management tasks I need. Two applications of the language accompany my every day work: First, I use Python scripts to generate data sets from information provided at internet pages (web scraping). Second, I work with SQLite and Django to manage more complex data sets that require database operations, such as merging, virtual tables, and visualization in web pages. Both of these usages of a modern programming language have increased my productivity significantly and made data resources more easily available. In order to introduce you to Python, I first evaluate contemporary programming languages and their appropriateness for political methodology. Subsequently, I demonstrate how to use Python to generate a data set from an online source. In the last part, I discuss some more advanced issues of data analysis and evaluate how Python can help in a world of ever more easily available online data.

برای دانلود رایگان متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

An Extensible Compiler for Creating Scriptable Scientific Software

Scripting languages such as Python and Tcl have become a powerful tool for the construction of exible scienti c software because they provide scientists with an interpreted problem solving environment and they form a modular framework for controlling software components written in C,C++, and Fortran. However, a common problem faced by the developers of a scripted scienti c application is that o...

متن کامل

Building Flexible Large-Scale Scientific Computing Applications with Scripting Languages

We describe our use of scripting languages with a large-scale molecular dynamics code. We will show how one can build an interactive, highly modular, and easily extensible system without sacrificing performance, building a huge monolithic package, or complicating code development. We will also describe our use of the Python language and the SWIG automated interface generation tool that we have ...

متن کامل

User-Centered Evolutionary Software Development Using Python and Java

The two language approach to software development has been investigated by several language designers. The primary hypothesis of such an approach being that both strong compile-time type checking and loose run-time type checking are desirable in evolutionary software development. Java is a strongly typed language which offers performance, robustness and modularity as such, while Python is a wea...

متن کامل

Transformation of Python Applications into Function-as-a-Service Deployments

New cloud programming and deployment models pose challenges to software application engineers who are looking, often in vain, for tools to automate any necessary code adaptation and transformation. Functionas-a-Service interfaces are particular non-trivial targets when considering that most cloud applications are implemented in non-functional languages. Among the most widely used of these langu...

متن کامل

An Embedded Error Recovery and Debugging Mechanism for Scripting Language Extensions

In recent years, scripting languages such as Perl, Python, and Tcl have become popular development tools for the creation of sophisticated application software. One of the most useful features of these languages is their ability to easily interact with compiled languages such as C and C++. Although this mixed language approach has many benefits, one of the greatest drawbacks is the complexity o...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2008